<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>

  <script type="text/javascript" src="tinymce_4.1.7/tinymce/js/tinymce/tinymce.min.js"></script>
  <script type="text/javascript" src="tinymce_4.1.7/tinymce/js/tinymce/langs/zh_CN.js"></script>
  <script type="text/javascript">
    tinymce.init({
      selector: "textarea"
    });
  </script>

<%--HTML邮件--%>
<s:form action="mail" method="POST" enctype="multipart/form-data">
  <s:hidden name="action" value="add"></s:hidden>
  <s:hidden name="mail.mimeMessage" value="true"></s:hidden>
  <%--<s:hidden name="mimeMessage" value="true"></s:hidden>--%>
  <s:textfield name="from" disabled="true" label="发件人" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.to" label="收件人" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.cc" label="抄送" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.bcc" label="暗送" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.subject" label="主题" cssStyle="width:500px;"></s:textfield>
  <s:textarea name="mail.content" label="内容" cssStyle="width:500px;height:200px"></s:textarea>

  <s:file name="attachment" cssStyle="width:500px;" label="附件"></s:file>
  <s:file name="attachment" cssStyle="width:500px;" label="附件"></s:file>
  <s:file name="attachment" cssStyle="width:500px;" label="附件"></s:file>
  <s:file name="attachment" cssStyle="width:500px;" label="附件"></s:file>

  <s:submit value="发送" cssclass="button"></s:submit>
</s:form>